package com.example.activiti.config.mapstruct;

import com.example.activiti.model.ProcessModelVO;
import org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author Mr.yuan
 * @version v1.0
 * @date 2019/11/12 10:36
 **/
@Mapper(componentModel = "spring")
public interface ProcessDefinitionConverter extends BeanConverter<ProcessDefinitionEntity, ProcessModelVO> {

    @Override
    List<ProcessModelVO> sourceToTargetList(List<ProcessDefinitionEntity> processDefinitions);
}
